package com.bzsg.simpleMediaPlayer.data

import android.graphics.Bitmap

// UI 状态密封类
sealed class VideoUiState {
    data object Loading : VideoUiState()

    data class Success(
        val videos: List<VideoItem>,
        val thumbnailMap: Map<Long, Bitmap> = emptyMap()
    ) : VideoUiState()

    data class Error(val message: String) : VideoUiState()
}
